package cn.smbms.service;

import cn.smbms.mapper.RoleMapper;
import cn.smbms.pojo.Role;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Tequila
 **/
@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;
    @Override
    public List<Role> findRoleList() {
        return roleMapper.findRoleList();
    }
}
